<?php

// +----------------------------------------------------------------------
namespace app\admin\validate;

use think\Validate;

class CateValidate extends Validate
{
    protected $rule = [
    	['pid','require','请选择父级分类'],
        ['cate_name', 'require', '产品分类不能为空'],
        ['cate_name', 'unique:cate', '产品分类已经存在']
    ];

}